/**
 * Project Name:youba
 * Package Name:com.inoneone.youba.mcht.base.api
 * Date:2017/6/19下午4:54
 * Copyright (c) 2017, www.zbj.com All Rights Reserved
 */
package com.inoneone.youba.mcht.service;

import com.inoneone.youba.mcht.dto.PageRsp;
import com.inoneone.youba.mcht.dto.req.MyEventReq;
import com.inoneone.youba.mcht.dto.rsp.MyEventRsp;
import com.inoneone.youba.mcht.pojo.Event;

/**
 * Description: 安全管理服务 </br>
 * Date: 2017/6/19下午4:54 </br>
 *
 * @author 姬远玄
 * @since JDK 1.7
 */
public interface SafeApi {

    /**
     * Description: 查询系统事件</br>
     * Date: 2017-06-28 14:01:29</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    PageRsp<MyEventRsp> querySysEvent(MyEventReq myEventReq, String mchId);


    /**
     * Description: 修改登录密码</br>
     * Date: 2017-07-06 12:10:56</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    void modifyPassword(String password, String mchId);

    /**
     * Description: 修改支付密码</br>
     * Date: 2017-07-06 12:11:11</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    void modifyPayPassword(String password, String mchId);

    /**
     * Description: 写系统日志</br>
     * Date: 2017-07-19 11:42:46</br>
     *
     * @param
     * @return
     * @author 姬远玄
     * @since JDK 1.7
    */
    void log(Event event);
}
